home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ghostscript / src / ansihead.mak < prev    next >
Makefile  |  1994-08-01  |  5KB  |  141 lines

  1. #    Copyright (C) 1989, 1990, 1991, 1993 Aladdin Enterprises.  All rights reserved.
  2. #
  3. # This file is part of Ghostscript.
  4. #
  5. # Ghostscript is distributed in the hope that it will be useful, but
  6. # WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  7. # to anyone for the consequences of using it or for whether it serves any
  8. # particular purpose or works at all, unless he says so in writing.  Refer
  9. # to the Ghostscript General Public License for full details.
  10. #
  11. # Everyone is granted permission to copy, modify and redistribute
  12. # Ghostscript, but only under the conditions described in the Ghostscript
  13. # General Public License.  A copy of this license is supposed to have been
  14. # given to you along with Ghostscript so you can know your rights and
  15. # responsibilities.  It should be in a file named COPYING.  Among other
  16. # things, the copyright notice and this notice must be preserved on all
  17. # copies.
  18.  
  19. # makefile for Ghostscript, Unix/ANSI C/X11 configuration.
  20.  
  21. # ------------------------------- Options ------------------------------- #
  22.  
  23. ####### The following are the only parts of the file you should need to edit.
  24.  
  25. # ------ Generic options ------ #
  26.  
  27. # Define the installation commands and target directories for
  28. # executables and files.  Only relevant to `make install'.
  29.  
  30. INSTALL = install -c
  31. INSTALL_PROGRAM = $(INSTALL) -m 775
  32. INSTALL_DATA = $(INSTALL) -m 664
  33.  
  34. prefix = /usr/local
  35. exec_prefix = $(prefix)
  36. bindir = $(exec_prefix)/bin
  37. datadir = $(prefix)/lib
  38. gsdatadir = $(datadir)/ghostscript
  39.  
  40. # Define the default directory/ies for the runtime
  41. # initialization and font files.  Separate multiple directories with a :.
  42.  
  43. GS_LIB_DEFAULT=$(gsdatadir):$(gsdatadir)/fonts
  44.  
  45. # Define the name of the Ghostscript initialization file.
  46. # (There is no reason to change this.)
  47.  
  48. GS_INIT=gs_init.ps
  49.  
  50. # Choose generic configuration options.
  51.  
  52. # -DDEBUG
  53. #    includes debugging features (-Z switch) in the code.
  54. #      Code runs substantially slower even if no debugging switches
  55. #      are set.
  56. # -DNOPRIVATE
  57. #    makes private (static) procedures and variables public,
  58. #      so they are visible to the debugger and profiler.
  59. #      No execution time or space penalty.
  60.  
  61. GENOPT=
  62.  
  63. # Define the name of the executable file.
  64.  
  65. GS=gs
  66.  
  67. # ------ Platform-specific options ------ #
  68.  
  69. # Define the name of the C compiler.  If the standard compiler for your
  70. # platform is ANSI-compatible, leave this line commented out; if not,
  71. # uncomment the line and insert the proper definition.
  72.  
  73. #CC=some_C_compiler
  74.  
  75. # Define the other compilation flags.
  76. # Add -DBSD4_2 for 4.2bsd systems.
  77. # Add -DSYSV for System V or DG/UX.
  78. # Add -DSVR4 (not -DSYSV) for System V release 4.
  79. # The HP 400 seems to want -Aa -w -D_HPUX_SOURCE.
  80. # XCFLAGS can be set from the command line.
  81.  
  82. CFLAGS=-O $(XCFLAGS)
  83.  
  84. # Define platform flags for ld.
  85. # SunOS and some others want -X; Ultrix wants -x.
  86. # SunOS 4.n may need -Bstatic.
  87. # Apollos running DomainOS don't support -X (and -x has no effect).
  88. # XLDFLAGS can be set from the command line.
  89.  
  90. LDFLAGS=$(XLDFLAGS)
  91.  
  92. # Define any extra libraries to link into the executable.
  93. # ISC Unix 2.2 wants -linet.
  94. # SCO Unix needs -lsocket if you aren't including the X11 driver.
  95. # (Libraries required by individual drivers are handled automatically.)
  96.  
  97. EXTRALIBS=
  98.  
  99. # Define the include switch(es) for the X11 header files.
  100. # This can be null if handled in some other way (e.g., the files are
  101. # in /usr/include, or the directory is supplied by an environment variable).
  102. # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
  103. # not in $(XINCLUDE).
  104.  
  105. XINCLUDE=-I/usr/local/X/include
  106.  
  107. # Define the directory/ies for the X11 library files.
  108. # This can be null if these files are in the default linker search path.
  109.  
  110. XLIBDIRS=-L/usr/local/X/lib
  111.  
  112. # ------ Devices and features ------ #
  113.  
  114. # Choose the language feature(s) to include.  See gs.mak for details.
  115.  
  116. FEATURE_DEVS=filter.dev dps.dev level2.dev
  117.  
  118. # Choose the device(s) to include.  See devs.mak for details.
  119.  
  120. DEVICE_DEVS=x11.dev
  121. DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev ppm.dev ppmraw.dev bit.dev
  122.  
  123. # ---------------------------- End of options --------------------------- #
  124.  
  125. # Define the name of the makefile -- used in dependencies.
  126.  
  127. MAKEFILE=unix-ansi.mak
  128.  
  129. # Define the ANSI-to-K&R dependency (none for ANSI compilers).
  130.  
  131. AK=
  132.  
  133. # Define the compilation rules and flags.
  134.  
  135. CCC=$(CC) $(CCFLAGS) -c
  136.  
  137. # --------------------------- Generic makefile ---------------------------- #
  138.  
  139. # The remainder of the makefile (unixhead.mak, gs.mak, devs.mak, unixtail.mak)
  140. # is generic.  tar_cat concatenates all these together.
  141.